package com.shababeach.travel.service;

import com.shababeach.travel.entity.LocationType;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 位置类型Service接口
 */
public interface LocationTypeService {

    /**
     * 获取所有启用的位置类型列表
     */
    List<LocationType> getEnabledTypes();

    LocationType getById(Integer id);

    Page<LocationType> page(Pageable pageable, String keyword);

    Page<LocationType> page(Pageable pageable);
}